package czy.demo.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/authenticated")
public class AuthenticatedController {

    @GetMapping("/info")
    public String info(){
        return "这个接口只有认证用户可以访问，即必须登录";
    }

}
